package com.smsc.headend.task.engine.service.report;

/**
 * @author liangli
 * @date 2020/10/28
 */
public interface TimeSyncReportService {
    /**
     * 保存对时记录
     *
     * @param deviceId
     * @param deviceType
     * @param syncTime
     * @param syncResult
     * @param deviceTime
     * @param serverTime
     * @param timeDiffBefore
     * @param timeDiffAfter
     * @param userId
     * @param syncSrc 同步源（null：Get，0=系统对时，1=人工Set,2=人工Sync）
     */
    void saveReport(Long deviceId, Long deviceType, Long syncTime, Integer syncResult, Long deviceTime, Long serverTime, Long timeDiffBefore, Long timeDiffAfter, Long userId, Integer syncSrc);
}
